package com.cloudlead.commonData.vo;

import com.cloudlead.common.lang.persistence.AbstractIdEntity;

import com.cloudlead.commonData.action.validator.WebsiterecordValidatorGroup.*;

import javax.validation.constraints.Size;
import com.cloudlead.common.lang.annotation.Domain;
import com.cloudlead.common.lang.annotation.Label;
import java.lang.String;
import javax.validation.constraints.NotNull;

/**
 * Websiterecord is a Codegen vo type
 */
@Label("Websiterecord")
@Domain(domainClassName="com.cloudlead.commonData.entity.EWebsiterecord")
public class Websiterecord extends AbstractIdEntity<String> {

    private static final long serialVersionUID =13155420428371L;    
    @Label("地域")
    @Size(max=45)
    private String area;

    @Label("删除标记")
    @Size(max=8)
    private String flag;

    @NotNull(groups={Update.class})
    @Label("id")
    @Size(max=24)
    private String id;

    @Label("访问结束时间")
    @Size(max=45)
    private String visitEndTime;

    @Label("访问者IP")
    @Size(max=45)
    private String visitorIp;

    @Label("访问页面数")
    @Size(max=45)
    private String visitPageNum;

    @Label("访问开始时间")
    @Size(max=45)
    private String visitStartTime;

    @Label("编号")
    @Size(max=45)
    private String websiteRecord;

    public String getArea() {
        return area;
    }

    public void setArea(String area) {
        this.area = area;
    }

    public String getFlag() {
        return flag;
    }

    public void setFlag(String flag) {
        this.flag = flag;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getVisitEndTime() {
        return visitEndTime;
    }

    public void setVisitEndTime(String visitEndTime) {
        this.visitEndTime = visitEndTime;
    }

    public String getVisitorIp() {
        return visitorIp;
    }

    public void setVisitorIp(String visitorIp) {
        this.visitorIp = visitorIp;
    }

    public String getVisitPageNum() {
        return visitPageNum;
    }

    public void setVisitPageNum(String visitPageNum) {
        this.visitPageNum = visitPageNum;
    }

    public String getVisitStartTime() {
        return visitStartTime;
    }

    public void setVisitStartTime(String visitStartTime) {
        this.visitStartTime = visitStartTime;
    }

    public String getWebsiteRecord() {
        return websiteRecord;
    }

    public void setWebsiteRecord(String websiteRecord) {
        this.websiteRecord = websiteRecord;
    }

    public String toString() {
         return String.format("Websiterecord { area : %s,flag : %s,id : %s,visitEndTime : %s,visitorIp : %s,visitPageNum : %s,visitStartTime : %s,websiteRecord : %s }",area,flag,id,visitEndTime,visitorIp,visitPageNum,visitStartTime,websiteRecord);
    }

}

